

class Config:
    img_height = 35
    img_width = 90
    train_path = r"datasets\train"
    test_path = r"datasets\test"
    model_path = r"model\fpyzm_ctc_weights.h5"
    model_path3 = r"model\char3\fpyzm_ctc_weights.h5"
    n_epoch = 100
    batch_size = 32
    str_table_path = "string.txt"  # 字符表
    color_table_path = "color.txt"  # 颜色表
    n_str = 1287  # 字符分类
    n_color = 4  # 颜色分类
    n_len = 6  # 图片中字符个数
    filename2labels = "filename2labels.json"  # 图片文件名->标签 字典
